package org.jeecg.modules.flow.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.flow.entity.ActHiTaskInstance;
import org.jeecg.modules.flow.query.HistoryTaskQuery;
import org.jeecg.modules.flow.vo.HistoryTaskInstanceVo;

/**
 * @Description: act_hi_taskinst
 * @Author: jeecg-boot
 * @Date: 2021-12-30
 * @Version: V1.0
 */
public interface IActHiTaskInstanceService extends IService<ActHiTaskInstance> {

    /**
     * 分页查询历史任务
     *
     * @param query
     * @param pageNo
     * @param pageSize
     * @return
     */
    Page<HistoryTaskInstanceVo> queryHistoricTaskInstances(HistoryTaskQuery query, Integer pageNo, Integer pageSize);
}
